Technical Q&As
QD3D 45 - Clarification of TQ3HitData's 'distance' Field (8-Apr-96)
Q TQ3HitData's 'distance' field is described for window-point picking as "the
distance from window point's location on the camera frustrum (in world space)
to the point of intersection with the picked object." Does this refer to the
(center) of the intersection of the pixel's frustrum with the hither plane, or
maybe the yon plane, or could it be the camera location?
A TQ3HitData's 'distance' field is the world space distance from the origin of
the picking ray to the intersection point. Effectively, this is the distance
from the camera to the intersection point in world coordinates.
Technical Q&As
Previous Question | Contents | Next Question